package com.ydjk.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ydjk.common.annotation.Excel;

import java.util.Date;

/**
 * 推送人员对象 jk_push_user
 *
 * @author ydjk
 * @date 2023-09-12
 */
@TableName(value = "jk_push_user")
public class JkPushUser {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 推送id
     */
    @TableField(value = "push_id")
    @Excel(name = "推送id")
    private Long pushId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    @Excel(name = "用户id")
    private Long userId;

    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setPushId(Long pushId) {
        this.pushId = pushId;
    }

    public Long getPushId() {
        return pushId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
